package com.horsen.service.edu.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.horsen.service.base.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 课程 实体
 *
 * @author Horsen
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("edu_chapter")
@ApiModel("章节")
public class Chapter extends BaseModel {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("课程ID")
    private String courseId;

    @ApiModelProperty("章节名称")
    private String title;

    @ApiModelProperty("排序")
    private Integer sort;

}
